{template "header.html", "/"}

<div class="page-container">
	<div class="page-content-wrapper">
		{template "header.html"}
		<div class="page-content">
			<div class="container">
				<div class="page-content-inner">
					<ul class="page-breadcrumb breadcrumb">
						<li>
							<a href="{SITE_URL}">首页</a>
							<i class="fa fa-circle"></i>
						</li>
						<li>
							<a href="{MODULE_URL}">{MODULE_NAME}</a>
							<i class="fa fa-circle"></i>
						</li>
						{dr_catpos($catid, '', true, '<li><a href="{url}">{name}</a><i class="fa fa-circle"></i></li>')}
						<li>
							<span>频道页</span>
						</li>
					</ul>

					<div class="row">
						<div class="col-lg-12">
							<div class="portlet light">
								<div class="portlet-title">
									<div class="caption">
										<span class="caption-subject bold uppercase"><a class="font-green" href="{dr_mobile_category_url(MOD_DIR, $cat.id)}">{$cat.name}</a></span>
									</div>
								</div>
								<div class="portlet-body">
									<div class="row">
										{list action=category pid=$cat.id return=cc}
										{php $info=dr_cat_count($cc.id);}
										<div class="col-md-12 wbbs_list">
											<div class="row">
												<div class="col-md-10">
													<h5><a href="{dr_mobile_category_url(MOD_DIR, $cc.id)}" {if $cc.color}style="color:{$cc.color}"{/if}>{$cc.name}</a> {if $info.today_subjects+$info.today_replys}<label style="color: #ff5500 !important">(今日: {$info.today_subjects+$info.today_replys})</label>{/if}</h5>
													<div class="wbbs_list_count">主题：{intval($info.subjects)}，帖子：{intval($info.replys)}</div>
													{if $info.last_uid}
													<div class="wbbs_list_info">
														<a href="{$info.last_url}">{dr_strcut($info.last_title, 30)}</a>
														<label>{dr_fdate($info.last_time)}</label>
														<a href="{dr_space_url($info_last.uid)}" target="_blank">{$info.last_username}</a>
													</div>
													{/if}
												</div>
											</div>
										</div>
										{/list}

									</div>
								</div>
							</div>
						</div>
					</div>


				</div>
			</div>
		</div>
	</div>
</div>



{template "footer.html"}